home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / ezy_comm / ezy1023.zip / SETUP.ZIP / FEDJPG.BAT < prev    next >
DOS Batch File  |  1992-09-03  |  473b  |  23 lines

  1. @echo off
  2. rem %1 is the Drive of the JPG
  3. rem %2 is the Path of the JPG
  4. rem %3 is the Filename (no extension)
  5. rem %4 is the Extension (including ".")
  6.  
  7. rem Change to Drive of JPG
  8. %1
  9.  
  10. rem Change to directory of JPG
  11. cd %2.
  12.  
  13. rem Convert JPG to GIF file (JPG2GIF.EXE must be in PATH)
  14. jpg2gif %3%4
  15.  
  16. rem For VPic, if you wish to choose Screen Mode inside
  17. vpic %3.* /a
  18.  
  19. rem For VPic, if you just want to display it automatically
  20. rem vpic %3.GIF /a
  21.  
  22. del %3.GIF
  23.